import { PartialType } from "@nestjs/mapped-types";
import { RegisterDto } from "./register.dto";
import { IsNotEmpty } from "class-validator";

export class UpdateUserDto {
  @IsNotEmpty({
    message: '用户id不能为空'
  })
  id: number;

  isFrozen: 0|1

  nickName: string

  headPic: string
}